package com.ruoyi.rsikManage.Alarm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警信息对象 t_alarms
 *
 * @author sxygsj
 * @date 2024-12-26
 */
public class TBaseAlarms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long idId;

    /** 直接访问的url */
    @Excel(name = "直接访问的url")
    private String httpUrl2;

    /** 单位编号 */
    @Excel(name = "单位编号")
    private String unitCode;

    /** 报警级别 5:紧急 4:严重 3:警告 2:次要 1:提示 */
    @Excel(name = "报警级别 5:紧急 4:严重 3:警告 2:次要 1:提示")
    private String alarmLevel;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称")
    private String alarmTypeName;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 组织索引 */
    @Excel(name = "组织索引")
    private String orgIndex;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** ID */
    private Long id;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件ID */
    @Excel(name = "事件ID")
    private String eventId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approve;

    /** 审批意见 1-正报 2-误报 */
    @Excel(name = "审批意见 1-正报 2-误报")
    private String opinion;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 视频时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "视频时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date videoTime;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String pictureUrl;

    /** 报警地点 */
    @Excel(name = "报警地点")
    private String alarmLocation;

    /** 解除报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解除报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contactAlarmTime;

    /** 处理开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingStartTime;

    /** 处理预计结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理预计结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processingEndTime;

    /** 报警设备 */
    @Excel(name = "报警设备")
    private String alarmDevice;

    /** 报警提示方式 */
    @Excel(name = "报警提示方式")
    private String alarmPromptMode;

    /** 报警提示音 */
    @Excel(name = "报警提示音")
    private String alarmTone;

    /** 报警原因 */
    @Excel(name = "报警原因")
    private String alarmReason;

    /** 报警处置信息 */
    @Excel(name = "报警处置信息")
    private String alarmDisposalInfo;

    /** 处置反馈信息 */
    @Excel(name = "处置反馈信息")
    private String disposalFeedbackInfo;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer delFlag;

    /** 处理状态 1-未处理 2-处理中 3-已处理 */
    @Excel(name = "处理状态 1-未处理 2-处理中 3-已处理")
    private String handelStatus;

    /** 报警发送标记 0-未发送 1-已发送 */
    @Excel(name = "报警发送标记 0-未发送 1-已发送")
    private Integer alarmSendingMark;

    /** base64编码图片 */
    @Excel(name = "base64编码图片")
    private String httpUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long httpUrlBase;

    /** 报警回放地址 */
    @Excel(name = "报警回放地址")
    private String playBackUrl;

    /** 是否报备 0-未报备 1-已报备 */
    @Excel(name = "是否报备 0-未报备 1-已报备")
    private String filter;

    /** 状态开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statusStartDatetime;

    /** 状态结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statusEndDatetime;

    /** 状态持续时间 秒数 */
    @Excel(name = "状态持续时间 秒数")
    private Long durationSeconds;

    /** 状态持续时间 */
    @Excel(name = "状态持续时间")
    private String durationSecondsStr;

    public void setIdId(Long idId)
    {
        this.idId = idId;
    }

    public Long getIdId()
    {
        return idId;
    }
    public void setHttpUrl2(String httpUrl2)
    {
        this.httpUrl2 = httpUrl2;
    }

    public String getHttpUrl2()
    {
        return httpUrl2;
    }
    public void setUnitCode(String unitCode)
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode()
    {
        return unitCode;
    }
    public void setAlarmLevel(String alarmLevel)
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel()
    {
        return alarmLevel;
    }
    public void setAlarmTime(Date alarmTime)
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime()
    {
        return alarmTime;
    }
    public void setAlarmTypeName(String alarmTypeName)
    {
        this.alarmTypeName = alarmTypeName;
    }

    public String getAlarmTypeName()
    {
        return alarmTypeName;
    }
    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId()
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setAlarmType(String alarmType)
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType()
    {
        return alarmType;
    }
    public void setOrgIndex(String orgIndex)
    {
        this.orgIndex = orgIndex;
    }

    public String getOrgIndex()
    {
        return orgIndex;
    }
    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }

    public String getOrgName()
    {
        return orgName;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEventType(String eventType)
    {
        this.eventType = eventType;
    }

    public String getEventType()
    {
        return eventType;
    }
    public void setEventId(String eventId)
    {
        this.eventId = eventId;
    }

    public String getEventId()
    {
        return eventId;
    }
    public void setApprove(String approve)
    {
        this.approve = approve;
    }

    public String getApprove()
    {
        return approve;
    }
    public void setOpinion(String opinion)
    {
        this.opinion = opinion;
    }

    public String getOpinion()
    {
        return opinion;
    }
    public void setHandleTime(Date handleTime)
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime()
    {
        return handleTime;
    }
    public void setVideoTime(Date videoTime)
    {
        this.videoTime = videoTime;
    }

    public Date getVideoTime()
    {
        return videoTime;
    }
    public void setPictureUrl(String pictureUrl)
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl()
    {
        return pictureUrl;
    }
    public void setAlarmLocation(String alarmLocation)
    {
        this.alarmLocation = alarmLocation;
    }

    public String getAlarmLocation()
    {
        return alarmLocation;
    }
    public void setContactAlarmTime(Date contactAlarmTime)
    {
        this.contactAlarmTime = contactAlarmTime;
    }

    public Date getContactAlarmTime()
    {
        return contactAlarmTime;
    }
    public void setProcessingStartTime(Date processingStartTime)
    {
        this.processingStartTime = processingStartTime;
    }

    public Date getProcessingStartTime()
    {
        return processingStartTime;
    }
    public void setProcessingEndTime(Date processingEndTime)
    {
        this.processingEndTime = processingEndTime;
    }

    public Date getProcessingEndTime()
    {
        return processingEndTime;
    }
    public void setAlarmDevice(String alarmDevice)
    {
        this.alarmDevice = alarmDevice;
    }

    public String getAlarmDevice()
    {
        return alarmDevice;
    }
    public void setAlarmPromptMode(String alarmPromptMode)
    {
        this.alarmPromptMode = alarmPromptMode;
    }

    public String getAlarmPromptMode()
    {
        return alarmPromptMode;
    }
    public void setAlarmTone(String alarmTone)
    {
        this.alarmTone = alarmTone;
    }

    public String getAlarmTone()
    {
        return alarmTone;
    }
    public void setAlarmReason(String alarmReason)
    {
        this.alarmReason = alarmReason;
    }

    public String getAlarmReason()
    {
        return alarmReason;
    }
    public void setAlarmDisposalInfo(String alarmDisposalInfo)
    {
        this.alarmDisposalInfo = alarmDisposalInfo;
    }

    public String getAlarmDisposalInfo()
    {
        return alarmDisposalInfo;
    }
    public void setDisposalFeedbackInfo(String disposalFeedbackInfo)
    {
        this.disposalFeedbackInfo = disposalFeedbackInfo;
    }

    public String getDisposalFeedbackInfo()
    {
        return disposalFeedbackInfo;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setHandelStatus(String handelStatus)
    {
        this.handelStatus = handelStatus;
    }

    public String getHandelStatus()
    {
        return handelStatus;
    }
    public void setAlarmSendingMark(Integer alarmSendingMark)
    {
        this.alarmSendingMark = alarmSendingMark;
    }

    public Integer getAlarmSendingMark()
    {
        return alarmSendingMark;
    }
    public void setHttpUrl(String httpUrl)
    {
        this.httpUrl = httpUrl;
    }

    public String getHttpUrl()
    {
        return httpUrl;
    }
    public void setHttpUrlBase(Long httpUrlBase)
    {
        this.httpUrlBase = httpUrlBase;
    }

    public Long getHttpUrlBase()
    {
        return httpUrlBase;
    }
    public void setPlayBackUrl(String playBackUrl)
    {
        this.playBackUrl = playBackUrl;
    }

    public String getPlayBackUrl()
    {
        return playBackUrl;
    }
    public void setFilter(String filter)
    {
        this.filter = filter;
    }

    public String getFilter()
    {
        return filter;
    }
    public void setStatusStartDatetime(Date statusStartDatetime)
    {
        this.statusStartDatetime = statusStartDatetime;
    }

    public Date getStatusStartDatetime()
    {
        return statusStartDatetime;
    }
    public void setStatusEndDatetime(Date statusEndDatetime)
    {
        this.statusEndDatetime = statusEndDatetime;
    }

    public Date getStatusEndDatetime()
    {
        return statusEndDatetime;
    }
    public void setDurationSeconds(Long durationSeconds)
    {
        this.durationSeconds = durationSeconds;
    }

    public Long getDurationSeconds()
    {
        return durationSeconds;
    }
    public void setDurationSecondsStr(String durationSecondsStr)
    {
        this.durationSecondsStr = durationSecondsStr;
    }

    public String getDurationSecondsStr()
    {
        return durationSecondsStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("idId", getIdId())
            .append("httpUrl2", getHttpUrl2())
            .append("unitCode", getUnitCode())
            .append("alarmLevel", getAlarmLevel())
            .append("alarmTime", getAlarmTime())
            .append("alarmTypeName", getAlarmTypeName())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("alarmType", getAlarmType())
            .append("orgIndex", getOrgIndex())
            .append("orgName", getOrgName())
            .append("id", getId())
            .append("eventType", getEventType())
            .append("eventId", getEventId())
            .append("approve", getApprove())
            .append("opinion", getOpinion())
            .append("handleTime", getHandleTime())
            .append("videoTime", getVideoTime())
            .append("pictureUrl", getPictureUrl())
            .append("alarmLocation", getAlarmLocation())
            .append("contactAlarmTime", getContactAlarmTime())
            .append("processingStartTime", getProcessingStartTime())
            .append("processingEndTime", getProcessingEndTime())
            .append("alarmDevice", getAlarmDevice())
            .append("alarmPromptMode", getAlarmPromptMode())
            .append("alarmTone", getAlarmTone())
            .append("alarmReason", getAlarmReason())
            .append("alarmDisposalInfo", getAlarmDisposalInfo())
            .append("disposalFeedbackInfo", getDisposalFeedbackInfo())
            .append("delFlag", getDelFlag())
            .append("handelStatus", getHandelStatus())
            .append("alarmSendingMark", getAlarmSendingMark())
            .append("httpUrl", getHttpUrl())
            .append("httpUrlBase", getHttpUrlBase())
            .append("playBackUrl", getPlayBackUrl())
            .append("filter", getFilter())
            .append("statusStartDatetime", getStatusStartDatetime())
            .append("statusEndDatetime", getStatusEndDatetime())
            .append("durationSeconds", getDurationSeconds())
            .append("durationSecondsStr", getDurationSecondsStr())
            .toString();
    }
}
